import * as tslib_1 from "tslib";
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository } from '@farris/bef';
import { OrganizationWuEntity } from './entities/organizationwuentity';
import { OrganizationWuProxy } from './organizationwuproxy';
var OrganizationWuRepository = /** @class */ (function (_super) {
    tslib_1.__extends(OrganizationWuRepository, _super);
    function OrganizationWuRepository(injector) {
        var _this = _super.call(this, injector) || this;
        _this.name = 'OrganizationWuRepository';
        _this.paginationInfo = {
            OrganizationWuEntity: {
                pageSize: 20,
            },
        };
        _this.proxy = injector.get(OrganizationWuProxy, null);
        return _this;
    }
    OrganizationWuRepository = tslib_1.__decorate([
        Injectable(),
        NgRepository({
            apiUrl: 'api/apporder/df/v1.0/organizationformwu_frm',
            entityType: OrganizationWuEntity
        }),
        tslib_1.__metadata("design:paramtypes", [Injector])
    ], OrganizationWuRepository);
    return OrganizationWuRepository;
}(BefRepository));
export { OrganizationWuRepository };
